<template>
    <div class="timeline">
        <h2 class="title">时间线</h2>
        <el-timeline style="max-width: 600px">
            <el-timeline-item v-for="(activity, index) in activities" :key="index" :timestamp="activity.timestamp">
                {{ activity.content }}
                <div class="item"> 
                    <img class="img" src="../../image/12.gif" alt="" title="换一换"  style="cursor: pointer;">
                    <div>类容</div>
                </div>
            </el-timeline-item>
        </el-timeline>
    </div>
</template>

<script lang="ts" setup>
import '../css/timeline2.css'
const activities: any[] = [
    {
        content: '大姐夫哈第十六届看不惯多岁回复IE我不拿剪发卡对吧飞机阿莎',
        timestamp: '2018-04-15',
    },
    {
        content: 'Approved',
        timestamp: '2018-04-13',
    },
    {
        content: 'Success',
        timestamp: '2018-04-11',
    },
]
</script>